/*
 * Created on 2005-10-10
 */
package com.smartdio.company.editor;

import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;

import com.smartdio.company.model.Person;


public class PersonWorkPanel extends Composite {

    private Group group = null;
    private Label label = null;
    public Text textCountry = null;
    private Label label1 = null;
    public Text text1 = null;
    private Label label2 = null;
    public Text text2 = null;
    private Label label4 = null;
    public Text text3 = null;
    private Label label3 = null;
    public Text text4 = null;
    private Label label5 = null;
    public Text text5 = null;
    private Label label9 = null;
    public Text text6 = null;
    private Label label16 = null;
    public Text text7 = null;
    private Label label15 = null;
    public Text text8 = null;
    private Label label17 = null;
    public Text text9 = null;

    public PersonWorkPanel(Composite parent, int style) {
        super(parent, style);
        initialize();
    }

    private void initialize() {
        createGroup();
        this.setLayout(new GridLayout());
        setSize(new Point(460, 200));
    }

    /**
     * This method initializes group	
     *
     */
    private void createGroup() {
        GridData gridData63 = new GridData();
        gridData63.horizontalAlignment = org.eclipse.swt.layout.GridData.END;
        GridData gridData62 = new GridData();
        gridData62.horizontalAlignment = org.eclipse.swt.layout.GridData.END;
        GridData gridData61 = new GridData();
        gridData61.horizontalAlignment = org.eclipse.swt.layout.GridData.END;
        GridData gridData60 = new GridData();
        gridData60.horizontalAlignment = org.eclipse.swt.layout.GridData.END;
        GridData gridData59 = new GridData();
        gridData59.horizontalAlignment = org.eclipse.swt.layout.GridData.END;
        GridData gridData58 = new GridData();
        gridData58.horizontalAlignment = org.eclipse.swt.layout.GridData.END;
        GridData gridData57 = new GridData();
        gridData57.horizontalAlignment = org.eclipse.swt.layout.GridData.END;
        GridData gridData56 = new GridData();
        gridData56.horizontalAlignment = org.eclipse.swt.layout.GridData.END;
        GridData gridData55 = new GridData();
        gridData55.horizontalAlignment = org.eclipse.swt.layout.GridData.END;
        GridData gridData54 = new GridData();
        gridData54.horizontalAlignment = org.eclipse.swt.layout.GridData.END;
        GridData gridData10 = new org.eclipse.swt.layout.GridData();
        gridData10.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
        gridData10.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER;
        GridData gridData9 = new org.eclipse.swt.layout.GridData();
        gridData9.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
        gridData9.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER;
        GridData gridData8 = new org.eclipse.swt.layout.GridData();
        gridData8.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
        gridData8.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER;
        GridData gridData7 = new org.eclipse.swt.layout.GridData();
        gridData7.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
        gridData7.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER;
        GridData gridData6 = new org.eclipse.swt.layout.GridData();
        gridData6.grabExcessHorizontalSpace = true;
        gridData6.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER;
        gridData6.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
        GridData gridData5 = new org.eclipse.swt.layout.GridData();
        gridData5.grabExcessHorizontalSpace = true;
        gridData5.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER;
        gridData5.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
        GridData gridData4 = new org.eclipse.swt.layout.GridData();
        gridData4.horizontalSpan = 3;
        gridData4.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER;
        gridData4.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
        GridData gridData3 = new org.eclipse.swt.layout.GridData();
        gridData3.horizontalSpan = 3;
        gridData3.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER;
        gridData3.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
        GridData gridData2 = new org.eclipse.swt.layout.GridData();
        gridData2.horizontalSpan = 3;
        gridData2.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER;
        gridData2.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
        GridData gridData1 = new org.eclipse.swt.layout.GridData();
        gridData1.horizontalSpan = 3;
        gridData1.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
        gridData1.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER;
        gridData1.grabExcessHorizontalSpace = true;
        GridLayout gridLayout = new GridLayout();
        gridLayout.numColumns = 4;
        GridData gridData = new org.eclipse.swt.layout.GridData();
        gridData.grabExcessHorizontalSpace = true;
        gridData.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
        gridData.verticalAlignment = org.eclipse.swt.layout.GridData.FILL;
        gridData.grabExcessVerticalSpace = true;
        group = new Group(this, SWT.NONE);
        group.setText("%work");
        group.setLayout(gridLayout);
        group.setLayoutData(gridData);
        label = new Label(group, SWT.NONE);
        label.setText("%workCountry");
        label.setLayoutData(gridData54);
        textCountry = new Text(group, SWT.BORDER);
        textCountry.setLayoutData(gridData1);
        label2 = new Label(group, SWT.NONE);
        label2.setText("%workProvince");
        label2.setLayoutData(gridData55);
        text1 = new Text(group, SWT.BORDER);
        text1.setLayoutData(gridData2);
        label1 = new Label(group, SWT.NONE);
        label1.setText("%workCity");
        label1.setLayoutData(gridData56);
        text2 = new Text(group, SWT.BORDER);
        text2.setLayoutData(gridData3);
        label4 = new Label(group, SWT.NONE);
        label4.setText("%workCounty");
        label4.setLayoutData(gridData57);
        text3 = new Text(group, SWT.BORDER);
        text3.setLayoutData(gridData5);
        label9 = new Label(group, SWT.NONE);
        label9.setText("%workAddress");
        label9.setLayoutData(gridData58);
        text4 = new Text(group, SWT.BORDER);
        text4.setLayoutData(gridData6);
        label3 = new Label(group, SWT.NONE);
        label3.setText("%workPostalcode");
        label3.setLayoutData(gridData59);
        text5 = new Text(group, SWT.BORDER);
        text5.setLayoutData(gridData7);
        label16 = new Label(group, SWT.NONE);
        label16.setText("%workPhone");
        label16.setLayoutData(gridData60);
        text6 = new Text(group, SWT.BORDER);
        text6.setLayoutData(gridData8);
        label5 = new Label(group, SWT.NONE);
        label5.setText("%workMobile");
        label5.setLayoutData(gridData61);
        text7 = new Text(group, SWT.BORDER);
        text7.setLayoutData(gridData9);
        label17 = new Label(group, SWT.NONE);
        label17.setText("%workOtherPhone");
        label17.setLayoutData(gridData62);
        text8 = new Text(group, SWT.BORDER);
        text8.setLayoutData(gridData10);
        label15 = new Label(group, SWT.NONE);
        label15.setText("%workEMail");
        label15.setLayoutData(gridData63);
        text9 = new Text(group, SWT.BORDER);
        text9.setLayoutData(gridData4);
    }

    public void setValue(Person person){
    	
    }
    
	public void addModifyListener(ModifyListener ls){

	}
}
